package com.xbongbong.paas.service;

import com.xbongbong.paas.pojo.ExcelLogPojo;
import com.xbongbong.paas.pojo.dto.FormDataListDTO;
import com.xbongbong.paas.pojo.vo.PaasFormDataEsListVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.enums.XbbRefTypeEnum;

/**
 * @author 吴峰
 * @date 2022/08/05 16:09
 */
public interface ExcelLogService {
    /**
     * Description: saas通用导出日志处理
     * @param xbbRefTypeEnum
     * @param formDataListVO
     * @param formDataListDTO
     * @author 魏荣杰
     * @date 2019/12/4 5:17 下午
     * @since v4.7.1
     */
    ExcelLogPojo logForExportFormData(XbbRefTypeEnum xbbRefTypeEnum, PaasFormDataEsListVO formDataListVO, FormDataListDTO formDataListDTO) throws XbbException;


    void log(int total, Long dataId, FormDataListDTO formDataListDTO, ExcelLogPojo excelLogPojo);
}
